Skip to content

Block upgrades to CrateDB 6.0.0–6.0.5 if pre-5.5 tables exist#828

Merged
tomach merged 1 commit intomasterfrom
ta/pre-upgrade-checks
Apr 21, 2026
Merged

Block upgrades to CrateDB 6.0.0–6.0.5 if pre-5.5 tables exist#828
tomach merged 1 commit intomasterfrom
ta/pre-upgrade-checks

Conversation

@tomach
Copy link
Copy Markdown
Contributor

@tomach tomach commented Apr 17, 2026

Summary of changes

This PR introduces a safeguard preventing upgrades to CrateDB 6.0.0–6.0.5 when the cluster contains tables created before 5.5. These versions contain a bug that can lead to data loss for such tables after certain operations (e.g. partition deletion or renaming). The fix is included starting from 6.0.6.

For details of the issue see crate/crate#19262

Checklist

  • Link to issue this PR refers to: https://github.com/crate/cloud/issues/2918
  • Relevant changes are reflected in CHANGES.rst
  • Added or changed code is covered by tests
  • Documentation has been updated if necessary
  • Changed code does not contain any breaking changes (or this is a major version change)

@tomach tomach force-pushed the ta/pre-upgrade-checks branch from 2efd06e to ff66445 Compare April 20, 2026 08:12
@tomach tomach marked this pull request as ready for review April 20, 2026 09:07
@tomach tomach force-pushed the ta/pre-upgrade-checks branch from ff66445 to 9f1cdf2 Compare April 20, 2026 09:11
@tomach tomach requested review from juanpardo and plaharanne April 20, 2026 09:15
Copy link
Copy Markdown
Contributor

@plaharanne plaharanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tomach tomach force-pushed the ta/pre-upgrade-checks branch from 9f1cdf2 to f70a65a Compare April 21, 2026 07:32
@tomach tomach force-pushed the ta/pre-upgrade-checks branch from f70a65a to 46796a8 Compare April 21, 2026 07:35
@tomach tomach merged commit b209dc1 into master Apr 21, 2026
16 checks passed
@tomach tomach deleted the ta/pre-upgrade-checks branch April 21, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants